package xyz.yang.toodles.statemachine;

import lombok.Getter;

/**
 * @author Xuehong Yang
 * @since 1.0
 */
@Getter
public class Operator {
    private String id;
    private String name;

    public Operator(String id, String name) {
        this.id = id;
        this.name = name;
    }

    public static Operator of(String id, String name) {
        return new Operator(id, name);
    }
}
